/*created by zouqj on 2019-5-8
* 重写HYTML元素默认样式
*/

/*隐藏IE input 清除按钮  查看密码按钮*/
::-ms-clear,
::-ms-reveal {
    display: none;
}

* {
    margin: 0;
    padding: 0;
}

html,
body,
#app {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Microsoft YaHei' !important;
    position: relative;
    min-width: 1280px;
    font-size: 14px;
    // background-image: url(../images/common/loading.gif);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

a {
    text-decoration: none
}

input {
    outline: none;
    border: 0;
    padding: 0;
    margin: 0;
}

input::-webkit-input-placeholder {
    color: #888;
    text-align: left;
}

input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #888;
    text-align: left;
}

input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #888;
    text-align: left;
}

input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #888;
    text-align: left;
}

button {
    outline: none;
}

ul li {
    list-style: none;
}


/*-----------------------------定义滚动条样式------------------*/
/*火狐*/

@-moz-document url-prefix(http: //),url-prefix(https://) {

    /* 滚动条颜色 */
    scrollbar {
        -moz-appearance: none !important;
        background: rgb(225, 227, 238) !important;
    }

    /* 滚动条按钮颜色 */
    thumb, scrollbarbutton {
        -moz-appearance: none !important;
        background-color: rgb(0, 0, 255) !important;
    }

    /* 鼠标悬停时按钮颜色 */
    thumb:hover, scrollbarbutton:hover {
        -moz-appearance: none !important;
        background-color: rgb(255, 0, 0) !important;
    }

    /* 隐藏上下箭头 */
    scrollbarbutton {
        display: none !important;
    }

    /* 纵向滚动条宽度 */
    scrollbar[orient="vertical"] {
        min-width: 12px !important;
    }
}

/*IE内核*/
html, body {
    scrollbar-arrow-color: #67cbff;
    /**/
    /*三角箭头的颜色*/
    scrollbar-face-color: #7abef9;
    /**/
    /*立体滚动条的颜色*/
    scrollbar-3dlight-color: #7abef9;
    /**/
    /*立体滚动条亮边的颜色*/
    scrollbar-highlight-color: #67cbff;
    /**/
    /*滚动条空白部分的颜色*/
    // scrollbar-shadow-color: #999;
    /**/
    /*立体滚动条阴影的颜色*/
    scrollbar-darkshadow-color: #ccc;
    /**/
    /*立体滚动条强阴影的颜色*/
    scrollbar-track-color: #ccc;
    /**/
    /*立体滚动条背景颜色*/
    scrollbar-base-color: #f8f8f8;
    /**/
    /*滚动条的基本颜色*/
}

/* 去掉type为number的输入框中的按钮*/

input::-webkit-outer-spin-button,

input::-webkit-inner-spin-button {

    -webkit-appearance: none;

}

/* 火狐 */

input[type="number"] {

    -moz-appearance: textfield;

}

/*滚动条的基本颜色*/

/*-------------el-table滚动条样式----------------- start*/
$scrollbarLightColor: #e1e4ee;

/*webkit内核*/
.el-table__body-wrapper.is-scrolling-none::-webkit-scrollbar {
    width: 12px;
    /*滚动条宽度*/
    height:12px;
    /*滚动条高度*/
}

.el-table__body-wrapper.is-scrolling-none::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(225, 228, 238, 0.1);
    border-radius: 6px;
}

.el-table__body-wrapper.is-scrolling-none::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: $scrollbarLightColor;
    -webkit-box-shadow: inset 0 0 6px rgba(225, 228, 238, 0.5);

    &:hover {
        background: $scrollbarLightColor;
    }
}

.el-table__body-wrapper.is-scrolling-none::-webkit-scrollbar-thumb:window-inactive {
    background: $scrollbarLightColor;
}

.el-table td.gutter,
.el-table th.gutter {
    display: none;
}

// ----------------!*el-table滚动条样式 end*!---------------
